<?php
/*
 * Created on 2012-8-16
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
session_start();
define('JUMP_USERNAME','cms_core_admin');
define('JUMP_PASSWORD','cms_core_admin');
$_SESSION['nns_role_pris']='';
 $name=$_GET["name"];
 $password=$_GET["password"];
 if ($name==JUMP_USERNAME && $password==JUMP_PASSWORD){
 	switch ($_GET['jump_command']){
 		case 'ipqam_category':
 			$role_right='112100,112101,112102,112103,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/ipqam_pages/nncms_content_ipqam_category_edit.php?nns_id=1000');
 		break;
 		case 'ipqam_list':
 			$role_right='112100,112101,112102,112103,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/ipqam_pages/nncms_content_ipqam_tree_addedit.php?nns_id=1000');
 		break;
 		case 'cal_pagebyhistory':
 			$role_right='114101,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/log_manager_pages/nncms_content_view_record.php');
 		break;
 		case 'cal_pagebytime':
 			$role_right='114101,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/log_manager_pages/nncms_content_view_record_5.php');
 		break;
 		case 'cal_pagecountbytime':
 			$role_right='114101,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/log_manager_pages/nncms_content_access_count_5.php');
 		break;
 		case 'cal_pagebyshap':
 			$role_right='114101,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/log_manager_pages/nncms_content_template_select.php');
 		break;
 		case 'cal_playbyhistory':
 			$role_right='114101,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/log_manager_pages/nncms_content_play_log.php');
 		break;
 		case 'cal_playbytime':
 			$role_right='114101,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/log_manager_pages/nncms_content_play_log_5.php');
 		break;
 		case 'cal_playcountbytime':
 			$role_right='114101,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/log_manager_pages/nncms_content_play_log_count_5.php');
 		break;
 		case 'cal_playbyshap':
 			$role_right='114101,';
 			$_SESSION['nns_role_pris']=$role_right;
 			header('location: contentframe/log_manager_pages/nncms_content_play_log_report.php');
 		break;
 		default:
 			header('HTTP/1.1 500 Not Found');
 		break;
 	}
 	
 }else{
 	header('HTTP/1.1 500 Not Found');
 }
?>